<template>
    <div>{{ one }}</div>
    <div>{{ two }}</div>
    <button @click="change">点我变诗</button>
</template>

<script>
export default {
    data() {
        return {
            one: '不畏浮云遮望眼',
            two: '只缘身在最高层'
        }
    },
    methods: {
        change() {
            this.one = '不识庐山真面目'
            this.two = '只缘身在此山中'
        }
    }
}
</script>

<style>

</style>